﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Agile.Models {
    /// <summary>
    /// 工作日历
    /// </summary>
    [Description("工作日历")]
    [Table("kq_WorkingCalendar")]
    public partial class KqWorkingCalendar:Entity {
        [Description("工作日历名称")]
        public string WorCalName { get; set; }
        [Description("工作日历类型")]
        public string WorCalType { get; set; }
        [Description("开始时间")]
        public DateTime? WorCalStartTime { get; set; }
        [Description("结束时间")]
        public DateTime? WorCalEndTime { get; set; }
        [Description("法定节假日自动调休")]
        public int IfHoligal { get; set; }
        [Description("休息日")]
        public string RestDay { get; set; }
        [Description("备注")]
        public string Remarks { get; set; }
    }

    [Description("工作日")]
    [Table("kq_KqWorkingDays")]
    public partial class KqWorkingDays:Entity {
        [Description("工作日历")]
        public string WorCalID { get; set; }
        [Description("日期")]
        public DateTime? Date { get; set; }

        [Description("是否节假日")]
        public int IfHoligal { get; set; }
        [Description("是否要上班")]
        public int IfWork { get; set; }
        [Description("特殊日")]
        public int IfSpecial { get; set; }
        [Description("备注")]
        public string Remarks { get; set; }
    }
}
